const addZero = function(arg,size=2){
    // console.log(arg instanceof Number);
    if(typeof arg == "number"){
        return arg.toFixed(size);
    }
    return arg;
}

export default {
    install(Vue){
        Vue.filter("addZero",addZero);
    }
}